Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution studio.extensions.nuxeo-routing-default--filters

This contribution is part of XML component studio.extensions.nuxeo-routing-default inside nuxeo-routing-default-9.10.jar /OSGI-INF/extensions.xml

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter id="filter@wf@ParallelDocumentReview">
          <rule grant="true">
            <permission>ReadWrite</permission>
            <type>Audio</type>
            <type>File</type>
            <type>Note</type>
            <type>Picture</type>
            <type>Video</type>
            <condition>#{!currentDocument.locked and currentDocument.currentLifeCycleState != 'approved' and currentDocument.currentLifeCycleState != 'deleted'}</condition>
          </rule>
          <rule grant="false">
            <condition>document.isImmutable()</condition>
          </rule>
        </filter>
  • <filter id="filter@SerialDocumentReview">
          <rule grant="true">
            <permission>ReadWrite</permission>
            <type>Audio</type>
            <type>File</type>
            <type>Note</type>
            <type>Picture</type>
            <type>Video</type>
            <condition>#{currentDocument.currentLifeCycleState != 'approved' and currentDocument.currentLifeCycleState != 'deleted'}</condition>
          </rule>
          <rule grant="false">
            <condition>document.isImmutable()</condition>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">
    <filter id="filter@wf@ParallelDocumentReview">
      <rule grant="true">
        <permission>ReadWrite</permission>
        <type>Audio</type>
        <type>File</type>
        <type>Note</type>
        <type>Picture</type>
        <type>Video</type>
        <condition>#{!currentDocument.locked and currentDocument.currentLifeCycleState != 'approved' and currentDocument.currentLifeCycleState != 'deleted'}</condition>
      </rule>
      <rule grant="false">
        <condition>document.isImmutable()</condition>
      </rule>
    </filter>
    <filter id="filter@SerialDocumentReview">
      <rule grant="true">
        <permission>ReadWrite</permission>
        <type>Audio</type>
        <type>File</type>
        <type>Note</type>
        <type>Picture</type>
        <type>Video</type>
        <condition>#{currentDocument.currentLifeCycleState != 'approved' and currentDocument.currentLifeCycleState != 'deleted'}</condition>
      </rule>
      <rule grant="false">
        <condition>document.isImmutable()</condition>
      </rule>
    </filter>
  </extension>